package com.noahsloan.nutils.xml.serial;

import java.net.URL;

/**
 * 
 * @author noah
 * @see Serializer
 */
public class URLSerializer extends AbstractSerializer<URL> {

	public URLSerializer() {
		super(URL.class);
	}

	/**
	 * @return url.toExternalForm()
	 */
	public String serialize(URL url) {
		return url.toExternalForm();
	}

}
